﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.WebControls;
using System.Collections;
/// <summary>
/// Summary description for LoaiDataHelper
/// </summary>
public class LoaiDataHelper
{
    public LoaiDataHelper()
    {
        //
        // TODO: Add constructor logic here
        //
    }

    public static Hashtable LoadNgonNgu()
    {
        Hashtable data = new Hashtable();
        data.Add(1, "Việt");
        data.Add(2, "Anh");
        return data;
    }

    public static Hashtable LoadLoaiGioiThieu(int lang)
    {
        Hashtable data = new Hashtable();

        ArrayList tinkinhte = new ArrayList();
        tinkinhte.Add("Lịch sử");
        tinkinhte.Add("History & Heritage");


        ArrayList nhantai = new ArrayList();
        nhantai.Add("Sáng lập viên");
        nhantai.Add("InterDist Leadership");

        ArrayList vanhoa = new ArrayList();
        vanhoa.Add("Tầm nhìn Chiến lược");
        vanhoa.Add("Our Purpose & Value");

        if (lang == 1)
        {
            data.Add(3, tinkinhte[0]);
            data.Add(2, vanhoa[0]);
            data.Add(1, nhantai[0]);
        }
        else
        {
            data.Add(3, tinkinhte[1]);
            data.Add(2, vanhoa[1]);
            data.Add(1, nhantai[1]);
        }
        return data;
    }

    public static Hashtable LoadLoaiToChuc()
    {
        Hashtable data = new Hashtable();
        data.Add(3, "Inshop");
        data.Add(2, "ISM");
        data.Add(1, "NSW");
        return data;
    }

    public static Hashtable LoadLoaiDoiTac(int lang)
    {
        Hashtable data = new Hashtable();

        ArrayList tinkinhte = new ArrayList();
        tinkinhte.Add("Khách hàng");
        tinkinhte.Add("Clients");
        


        ArrayList nhantai = new ArrayList();
        nhantai.Add("Đối tác");
        nhantai.Add("Partners");
        
        if (lang == 1)
        {
            data.Add(2, tinkinhte[0]);
            data.Add(1, nhantai[0]);
        }
        else
        {
            data.Add(2, tinkinhte[1]);
            data.Add(1, nhantai[1]);
        }
        return data;
    }

    public static Hashtable LoadLoaiTinTuc(int lang)
    {
        Hashtable data = new Hashtable();

        ArrayList tinkinhte = new ArrayList();
        tinkinhte.Add("Tin kinh tế");
        tinkinhte.Add("Business News");
        
        


        ArrayList nhantai = new ArrayList();
        nhantai.Add("Nhân tài Interdist");
        nhantai.Add("Interdist People");
        
        

        ArrayList vanhoa = new ArrayList();
        vanhoa.Add("Văn hóa Interdist");
        vanhoa.Add("Interdist Group News");
        
        

        if (lang == 1)
        {
            data.Add(3, tinkinhte[0]);
            data.Add(2, vanhoa[0]);
            data.Add(1, nhantai[0]);
        }
        else
        {
            data.Add(3, tinkinhte[1]);
            data.Add(2, vanhoa[1]);
            data.Add(1, nhantai[1]);
        }
        return data;
    }

    public static Hashtable LoadLoaiTuyenDung()
    {
        Hashtable data = new Hashtable();
        data.Add(2, "ID Job");
        data.Add(1, "ID's Client Job");
        return data;
    }

    public static string GetTenNgonNgu(object id)
    {
        return LoaiDataHelper.LoadNgonNgu()[id].ToString();
    }
}